package com.yehongyu.mytools.basic.designpattern.singleton;

public class Singleton {

	protected Singleton() {
		//防止被外部实例化。
	}
	
	public static Singleton getInstance(){
		return (Singleton)SingletonRegistry.getInstance("Singleton");
	}
	


}
